﻿using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.Text;

namespace T4Console.Dto
{
    /// <summary>
    /// Dto模版类
    /// </summary>
    public class DtoTemplateClass
    {
        /// <summary>
        /// Id
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// Id引用类型
        /// </summary>
        public Guid? IdReferenceType { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 名字
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 钱Double类型
        /// </summary>
        public double MoneyDouble { get; set; }

        /// <summary>
        /// 钱Decimal类型
        /// </summary>
        public decimal MoneyDecimal { get; set; }

        /// <summary>
        /// 钱Decimal引用类型
        /// </summary>
        public decimal? MoneyDecimalReferenceType { get; set; }

        /// <summary>
        /// 钱Long类型
        /// </summary>
        public long MoneyLong { get; set; }

        /// <summary>
        /// 是否改变
        /// </summary>
        public bool IsChange { get; set; }

        /// <summary>
        /// 性别枚举
        /// </summary>
        public SexEnum? SexEnum { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// DtoTemplate引用类型
        /// </summary>
        public DtoTemplateReferenceType DtoTemplateReferenceType { get; set; }

    }

    /// <summary>
    ///  DtoTemplate引用类型
    /// </summary>
    public class DtoTemplateReferenceType
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string DtoTemplateReferenceTypeName { get; set; }
    }

    /// <summary>
    /// 性别枚举
    /// </summary>
    public enum SexEnum
    {
        /// <summary>
        /// 男
        /// </summary>
        Man = 1,

        /// <summary>
        /// 女
        /// </summary>
        Woman = 2,
    }

}
